package com.cloudlead.commonData.query;

import static com.mysema.query.types.PathMetadataFactory.*;
import com.cloudlead.commonData.entity.EOrderrecord;


import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;

import com.mysema.query.sql.*;

import com.cloudlead.common.lang.annotation.Label;


/**
 * QOrderrecord is a Querydsl query type for EOrderrecord
 */
@Label("Orderrecord查询")
@Generated("com.cloudlead.utils.persistence.codegen.serializer.SimpleMetaDataSerializer")
public class QOrderrecord extends RelationalPathBase<EOrderrecord> {

    private static final long serialVersionUID = -1760722730;

    public static final QOrderrecord orderrecord = new QOrderrecord("orderrecord");

    public class PrimaryKeys {

        public final PrimaryKey<EOrderrecord> primary = createPrimaryKey(id);

    }

    public final StringPath flag = createString("flag");

    public final StringPath id = createString("id");

    public final StringPath ip = createString("ip");

    public final StringPath orderCost = createString("orderCost");

    public final StringPath orderEndTime = createString("orderEndTime");

    public final StringPath orderStartTime = createString("orderStartTime");

    public final PrimaryKeys pk = new PrimaryKeys();

    public QOrderrecord(String variable) {
        super(EOrderrecord.class, forVariable(variable), "null", "orderrecord");
        addMetadata();
    }

    public QOrderrecord(String variable, String schema, String table) {
        super(EOrderrecord.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QOrderrecord(Path<? extends EOrderrecord> path) {
        super(path.getType(), path.getMetadata(), "null", "orderrecord");
        addMetadata();
    }

    public QOrderrecord(PathMetadata<?> metadata) {
        super(EOrderrecord.class, metadata, "null", "orderrecord");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(flag, ColumnMetadata.named("flag").withIndex(6).ofType(Types.VARCHAR).withSize(8));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.CHAR).withSize(24).notNull());
        addMetadata(ip, ColumnMetadata.named("ip").withIndex(2).ofType(Types.VARCHAR).withSize(45));
        addMetadata(orderCost, ColumnMetadata.named("orderCost").withIndex(5).ofType(Types.VARCHAR).withSize(45));
        addMetadata(orderEndTime, ColumnMetadata.named("orderEndTime").withIndex(4).ofType(Types.VARCHAR).withSize(45));
        addMetadata(orderStartTime, ColumnMetadata.named("orderStartTime").withIndex(3).ofType(Types.VARCHAR).withSize(45));
    }

}

